<style>
    div,
    span {
        border: 1px solid lightgray;
        margin: 10px;
        width: 200px;
        height: 100px;
    }
    
    .s {
        display: inline;
    }
</style>

<span>这是普通span</span> <span>这是普通span</span> <span>这是普通span</span>

<div class="s">这是div，被改造成了内联元素</div>